package com.unknowpupil.oauth2.service;

import com.unknowpupil.oauth2.domain.TbPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author AutoGenerator
 */
public interface ITbPermissionService extends IService<TbPermission> {
    /**
     * 根据用户查询权限
     * @param id
     * @return
     */
    List<TbPermission> selectByUserId(Long id);
}
